package com.example.mybatisplus.web.controller;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.example.mybatisplus.common.JsonResponse;
import com.example.mybatisplus.common.utls.SessionUtils;
import com.example.mybatisplus.model.domain.Admin;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class IndexController {
    @RequestMapping("/console")
    public String console(){
        return "/page/list";
    }
    @RequestMapping("/")
    public String index(){
        return "/login";
    }
    @RequestMapping("/login")
    public String login(){
        return "/index";
    }
    @RequestMapping("/auto")
    public String auto(){
        return "/views/component/table/auto";
    }
    @RequestMapping("/upload/demo1")
    public String upload(){
        return "/views/component/upload/demo1";
    }
    @RequestMapping("/toBookList")
    public String toBookList(){
        return "/pages/book/list";
    }


    @RequestMapping("/password")
    public String password(){
        return "/passWord";
    }
    @RequestMapping("/info")
    public String info(){
        return "/info";
    }
    @RequestMapping("/shenBao")
    public String shenBao(){
        return "/five";
    }

    @RequestMapping("/bangyang")
    public String bangyang(){
        return "/form1";
    }
    @RequestMapping("/wenzi")
    public String wenzi(){
        return "/form2";
    }
    @RequestMapping("/dongman")
    public String dongman(){
        return "/form3";
    }
    @RequestMapping("/tupian")
    public String tupian(){ return "/form5"; }
    @RequestMapping("/huodong")
    public String huodong(){
        return "/form4";
    }
    @RequestMapping("/look")
    public String look(){
        return "/list";
    }




}
